package com.lucien.common.fornt;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Lucien
 * @Date 2021/5/31 22:09
 * @Version 1.0
 * @Description: 用户聊天信息列表实体类
 */
public class ChatMsgFront implements Serializable {

    private Integer id;

    private Integer fromId;

    private String fromName;

    private String fromProfile;

    private Integer toId;

    private String toName;

    private Integer messageTypeId;

    private Date createTime;

    private String content;

    private Integer friendId;

    private String friendName;

    private String friendAvatar;

    private Integer friendState;

    private boolean groupFlag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFromId() {
        return fromId;
    }

    public void setFromId(Integer fromId) {
        this.fromId = fromId;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getFromProfile() {
        return fromProfile;
    }

    public void setFromProfile(String fromProfile) {
        this.fromProfile = fromProfile;
    }

    public Integer getToId() {
        return toId;
    }

    public void setToId(Integer toId) {
        this.toId = toId;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public Integer getMessageTypeId() {
        return messageTypeId;
    }

    public void setMessageTypeId(Integer messageTypeId) {
        this.messageTypeId = messageTypeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getFriendId() {
        return friendId;
    }

    public void setFriendId(Integer friendId) {
        this.friendId = friendId;
    }

    public String getFriendName() {
        return friendName;
    }

    public void setFriendName(String friendName) {
        this.friendName = friendName;
    }

    public String getFriendAvatar() {
        return friendAvatar;
    }

    public void setFriendAvatar(String friendAvatar) {
        this.friendAvatar = friendAvatar;
    }

    public Integer getFriendState() {
        return friendState;
    }

    public void setFriendState(Integer friendState) {
        this.friendState = friendState;
    }

    public boolean isGroupFlag() {
        return groupFlag;
    }

    public void setGroupFlag(boolean groupFlag) {
        this.groupFlag = groupFlag;
    }

    public ChatMsgFront() {
    }

    public ChatMsgFront(Integer id, Integer fromId, String fromName, String fromProfile, Integer toId, String toName, Integer messageTypeId, Date createTime, String content, Integer friendId, String friendName, String friendAvatar, Integer friendState, boolean groupFlag) {
        this.id = id;
        this.fromId = fromId;
        this.fromName = fromName;
        this.fromProfile = fromProfile;
        this.toId = toId;
        this.toName = toName;
        this.messageTypeId = messageTypeId;
        this.createTime = createTime;
        this.content = content;
        this.friendId = friendId;
        this.friendName = friendName;
        this.friendAvatar = friendAvatar;
        this.friendState = friendState;
        this.groupFlag = groupFlag;
    }
}
